package com.zmj.mobile.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * <p>
 * 用印申请创建
 * </p>
 *
 * @author lzy
 * @since 2024-02-01
 */
@Data
@ApiModel(value = "SealApplyDTO对象", description = "用印申请创建")
public class SealApplyDTO {

    @ApiModelProperty(value = "经办人名称")
    @ExcelProperty(value = "经办人")
    @NotBlank(message = "经办人不可为空")
    private String handlerName;

    @ApiModelProperty(value = "印章所属公司名称")
    @ExcelProperty(value = "印章所属公司")
    @NotBlank(message = "印章所属公司不可为空")
    private String companyName;

    @ApiModelProperty(value = "用印类别(,)")
    @ExcelProperty(value = "用印类别")
    @NotBlank(message = "用印类别不可为空")
    private String sealType;

    @ApiModelProperty(value = "用印数量")
    @ExcelProperty(value = "用印数量")
    @NotNull(message = "用印数量不可为空")
    private Integer sealCount;

    @ApiModelProperty(value = "合同金额")
    @ExcelProperty(value = "合同金额（没有填0）")
    @NotBlank(message = "合同金额不可为空")
    private String sealAmount;

    @ApiModelProperty(value = "申请事由")
    @ExcelProperty(value = "申请事由")
    @NotBlank(message = "申请事由不可为空")
    private String applyReason;

    @ApiModelProperty(value = "图片")
    @ExcelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "图片路径")
    @ExcelProperty(value = "图片路径")
    private String imagePath;

    @ApiModelProperty(value = "附件")
    @ExcelProperty(value = "附件")
    private String attachment;

    @ApiModelProperty(value = "附件路径")
    @ExcelProperty(value = "附件路径")
    private String attachmentPath;

    @ApiModelProperty(value = "审批流id")
    @ExcelProperty(value = "审批流id")
    private String flowId;

    @ApiModelProperty(value = "发起时间")
    @ExcelProperty("发起时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @ExcelProperty(value = "发起人姓名")
    private String createUserName;

    @ApiModelProperty(value = "创建人code")
    @ExcelProperty(value = "发起人工号")
    private String createUser;

    @ApiModelProperty(value = "部门编码")
    @ExcelProperty(value = "部门编码")
    private String departCode;

    @ApiModelProperty(value = "部门名称")
    @ExcelProperty(value = "部门")
    private String departName;

    @ApiModelProperty(value = "申请编号")
    @ExcelProperty(value = "申请编号")
    private String applyCode;

}
